package lang4j.parser.generated;
//meta2 now!

import lang4j.parser.Position;
import lang4j.parser.ParsedEntity;
                              
public class EnumProduction  implements Production,ParsedEntity {

// Attributes
    private String name;
        private java.util.List<LabelledTerminal> values;
    
    Position mStart;
    Position mEnd;

    public EnumProduction(){
    }

    public Position mGetStart(){
        return mStart;
    }
    public Position mGetEnd(){
        return mEnd;
    }

    public void mSetStart(Position start){
        this.mStart=start;
    }

    public void mSetEnd(Position end){
      this.mEnd=end;
    }


// Accessors ******************************************************************

    public String getName(){
        return name;
    }

    public void setName(String name){
        this.name=name;
    }

    public java.util.List<LabelledTerminal> getValues(){
        return values;
    }

    public void setValues(java.util.List<LabelledTerminal> values){
        this.values=values;
    }


// Acceptors ******************************************************************
    public void accept(ProductionVisitor visitor){
        visitor.visitEnumProduction(this);
    }


// Transformers ******************************************************************
    public <T> T transform(ProductionTransformer<T> transformer){
        return transformer.transformEnumProduction(this);
    }


// Property based type identification ****************************************

    public boolean isEnumProduction(){
        return true;
    }
}